using MediatR;
using Medical.Api.Write.Dto.BasicManagement.DeviceClassificationDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.DeviceClassificationDictionaryCommand
{
    /// <summary>
    /// 创建器械命令
    /// </summary>
    public class CreateApparatusCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 器械数据
        /// </summary>
        public CreateApparatusDto ApparatusData { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="apparatusData">器械数据</param>
        public CreateApparatusCommand(CreateApparatusDto apparatusData)
        {
            ApparatusData = apparatusData;
        }
    }
}